package com.rfid.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 仓库订单对象 rfid_order
 *
 * @author ruoyi
 * @date 2023-02-03
 */
public class RfidOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 仓库存入信息 */
    @Excel(name = "仓库存入信息")
    private Long pId;

    /** 实际存入时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "实际存入时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date saveTime;

    /** 实际取出时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "实际取出时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date getTime;

    /** 预计存入时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预计存入时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date beginTime;

    /** 预计取出时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预计取出时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 下单时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "下单时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creatTime;

    /** 价格 */
    @Excel(name = "价格")
    private Long sum;

    /** 订单状态 0-未支付 1-已支付 2-订单已结束 */
    @Excel(name = "订单状态 0-未支付 1-已支付 2-订单已结束")
    private Integer status;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setpId(Long pId)
    {
        this.pId = pId;
    }

    public Long getpId()
    {
        return pId;
    }
    public void setSaveTime(Date saveTime)
    {
        this.saveTime = saveTime;
    }

    public Date getSaveTime()
    {
        return saveTime;
    }
    public void setGetTime(Date getTime)
    {
        this.getTime = getTime;
    }

    public Date getGetTime()
    {
        return getTime;
    }
    public void setBeginTime(Date beginTime)
    {
        this.beginTime = beginTime;
    }

    public Date getBeginTime()
    {
        return beginTime;
    }
    public void setEndTime(Date endTime)
    {
        this.endTime = endTime;
    }

    public Date getEndTime()
    {
        return endTime;
    }
    public void setCreatTime(Date creatTime)
    {
        this.creatTime = creatTime;
    }

    public Date getCreatTime()
    {
        return creatTime;
    }
    public void setSum(Long sum)
    {
        this.sum = sum;
    }

    public Long getSum()
    {
        return sum;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("pId", getpId())
                .append("saveTime", getSaveTime())
                .append("getTime", getGetTime())
                .append("beginTime", getBeginTime())
                .append("endTime", getEndTime())
                .append("creatTime", getCreatTime())
                .append("sum", getSum())
                .append("status", getStatus())
                .toString();
    }
}
